# Tanım: İşletim sistemini diske yükleme uygulaması
# URL: https://www.solus-project.com
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: python-setuptools gsettings-desktop-schemas gnome-desktop libtimezonemap gparted python-cairo python-geoip python-gobject python-parted xorg-app
# Grup: sistem

isim=os-installer
surum=12.5
devir=1
_surum=v12.5

kaynak=( https://github.com/solus-project/$isim/archive/${_version}.tar.gz
         10-livecd.rules)

derle() {
cd $isim-$surum
python setup.py build
python setup.py install --optimize=1 --root=$PKG

install -D -m 00644 dist/org.freedesktop.policykit.pkexec.policy $PKG/usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.policy
install -D -m 00755 dist/os-installer-wrapper $PKG/usr/bin/os-installer-wrapper
install -D -m 00644 $SRC/10-livecd.rules $PKG/usr/share/polkit-1/rules.d/10-livecd.rules
install -D -m 00644 dist/install-symbolic.svg $PKG/usr/share/icons/gnome/scalable/actions/install-symbolic.svg
install -D -m 00644 dist/com.solus_project.Installer.desktop $PKG/usr/share/applications/os-installer-gtk.desktop
}
